﻿using AutoMapper;
using X23.Application.MenuManagement.Dto;
using X23.Model.Menu;

namespace X23.Application.AutoMapperConfigs
{
    public class MenuManagementCfgs : Profile
    {
        public MenuManagementCfgs()
        {
            CreateMap<Menu, MenuDto>().ReverseMap();
            CreateMap<Menu, MenuTreeDto>().ReverseMap();
        }
    }
}
